<?php 
session_start();
include "../includes/comunes.php";
$_SESSION['seg']=rand(0,999);
$_SESSION['zona']=$_GET['zon'];
?>
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
    <head>
        <?php include "includes/head.php"?> 
    </head>
    
    <body>
  <?php include "includes/menu.php"?>
       
<div class="space-2"></div>

  <?php include "includes/logo.php"?>

<div class="space"></div>
<div class="container">
<div class="row">
<div class="col-md-2">
<?php  echo  obtener_zona($_SESSION['zona']);?>
</div>
<div class="col-md-10">
<h1>Paso 1: Ingrese sus datos Personales</h1>
<?php  if ($_GET['men']):?>
<h3 style="color:red;" id="inputError2"><?php echo $_GET['men']?></h3>
<?php  endif?>
</div>
</div>
</div>
<div class="space"></div>
<div class="container">
<div class="row">

<div class="col-md-2">

</div>
<div class="col-md-10">
   <form id="form1" name="form1" method="post" action="voto_electronico02.php?curso=0&zon=<?php echo $_GET['zon']?>">

               <div class="input-group input-group-lg">
				  <span class="input-group-addon"></span>
				  <input type="text" name="dni" required class="form-control" placeholder="Ingrese su DNI EJ:28992994">
				</div>
                 <br /><br />
				
				 <div class="input-group input-group-lg">
                <span class="input-group-addon"></span>
                <select name="sexo" class="form-control" required placeholder="Seleccione el Sexo" id="sexo">
                  <option value="1">Masculino</option>
                  <option value="0">Femenino</option>
                </select>
				</div>
                <br /><br />
                <div class="input-group input-group-lg">
				  <span class="input-group-addon"><?php echo $_SESSION['seg']?></span>
				  <input type="text" name="verificador" required class="form-control" placeholder="<-  Ingrese el codigo de Seguridad">
				</div>
			     <br /><br />
                <input class="btn btn-warning" name="Ingresar" type="submit" value="Siguiente Paso"/>
				
     </form>
</div>

</div>
</div>


<div class="container">
<div class="bgw">
<div class="row">
<div class="col-md-12">
<button type="button" class="btn btn-warning" onclick="location.href='index.php'">Volver</button>
</div

</div></div>
</div>
</div>

<div class="space"></div>
<div class="container">
<div class="row">
<div class="col-md-2">
<H3>CAMBIAR ZONA</H3>
</div>
<div class="col-md-2">
<a href="voto_electronico01.php?zon=1&curso=0">
<img src="img/boton-zona-centro.png" alt="VOTAR ZONA CENTRO">
</a>
</div>
<div class="col-md-2">
<a href="voto_electronico01.php?zon=2&curso=0">
<img src="img/boton-zona-norte2.png" alt="VOTAR ZONA NORTE">
</a>
</div>
<div class="col-md-2">
<a href="voto_electronico01.php?zon=3&curso=0">
<img src="img/boton-zona-sur2.png" alt="VOTAR ZONA SUR">
</a>
</div>
<div class="col-md-2">
<a href="voto_electronico01.php?zon=4&curso=0">
<img src="img/boton-zona-este2.png" alt="VOTAR ZONA ESTE">
</a>
</div>
<div class="col-md-2">
<a href="voto_electronico01.php?zon=5&curso=0">
<img src="img/boton-zona-oeste2.png" alt="VOTAR ZONA OESTE">
</a>
</div>
</div>
</div>

<?php include "includes/footer.php"?>



        
<?php include "includes/js.php"?>
		
		
    </body>
</html>
